export const columns = [
  {
    prop: 'warehouseCode',
    label: '序号',
    width: '40',
    fixed: 'left',
    type: 'index'
  },
  {
    prop: 'name',
    label: '属性名',
    formatter: (row?:Record<string, any>, columnPri?:any, cellValue?:any) => cellValue || '-'
  },
  {
    prop: 'label',
    label: '标签',
    slot: 'label',
    formatter: (row?:Record<string, any>, columnPri?:any, cellValue?:any) => cellValue || '-'
  },
  {
    prop: 'createTime',
    label: '创建时间',
    slot: 'createTime',
    formatter: (row?:Record<string, any>, columnPri?:any, cellValue?:any) => cellValue || '-'
  },
  {
    prop: 'updateTime',
    label: '更新时间',
    slot: 'updateTime',
    formatter: (row?:Record<string, any>, columnPri?:any, cellValue?:any) => cellValue || '-'
  },
  {
    prop: 'action',
    label: '操作',
    slot: 'action',
    width: 200,
    fixed: 'right',
  },
]

export const filterForm = [
  {
    label: '标签',
    field: 'label',
    type: 'input',
    dictName: 'label',
  },
]
